package com.kaibes.module.message;

import javax.validation.constraints.NotBlank;

import com.kaibes.core.base.annotation.Description;

import lombok.Data;

@Data
@Description("消息")
public class MessagePost {

    @Description("标题")
    @NotBlank(message = "标题不能为空")
    private String title;
    @Description("内容")
    @NotBlank(message = "内容不能为空")
    private String content;
    @Description("html")
    private String html;
    @Description("接收人")
    private Integer toId;
    
}
